import re


class CheckUtils:

    @staticmethod
    def check_id(c_id):
        if c_id.isdigit():
            return True
        else:
            return False

    @staticmethod
    def check_name(name):
        if name.isalpha():
            return True
        else:
            return False

    @staticmethod
    def check_age(age):
        if age.isdigit():
            return True
        else:
            return False

    @staticmethod
    def check_gender(gender):
        if gender == 'M' or gender == 'F':
            return True
        else:
            return False

    @staticmethod
    def check_phone(phone):
        if re.match(r"^1[3-9]\d{9}$", phone):
            return True
        else:
            return False